﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
<script type="text/javascript" language="javascript">
    function onCalendarChange(calendar)
    {
        var lbl = document.getElementById("Label1");
        var vDay = new Date(calendar.GetSelectedDate());
        lbl.innerText=vDay.toLocaleString();
    }
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <ComponentArt:Calendar id="PickerFrom"
      runat="server"
      PickerFormat="Custom"
      PickerCustomFormat="MMM d yyyy, h:mm tt" ControlType="Picker"
      PickerCssClass="piscker" >
      <ClientEvents>
        <SelectionChanged EventHandler="PickerFrom_OnDateChange" />
<SelectionChanged EventHandler="PickerFrom_OnDateChange"></SelectionChanged>
      </ClientEvents>
    </ComponentArt:Calendar>
    </div>
    </form>

</body>
</html>
